home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -readerstuff- / matt_briggs / eac / developers / tutorials / tutorial_02.eac < prev    next >
Encoding:
Text File  |  1999-04-21  |  598 b   |  27 lines

  1. .-------------------------------------------------------------------------.
  2. |In this example I have used the ADDOPT: command which will allow me to   |
  3. |go to different parts of my adventure. The command is quite simple to    |
  4. |use, and it works like this:      ADDOPT:[DisplayText]:[PageName]        |
  5. `-------------------------------------------------------------------------'
  6.  
  7. PAGE:START
  8. Welcome to my adventure. where would you like to go?
  9.  
  10. ADDOPT:Go north:north
  11. ADDOPT:Go south:south
  12. ENDPAGE:
  13.  
  14. PAGE:north
  15.  
  16. You go north. The end.
  17.  
  18. ENDPAGE:
  19.  
  20. PAGE:south
  21.  
  22. You go south. The end.
  23.  
  24. ENDPAGE:
  25.  
  26.  
  27.